package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 委外合同付款条件
 * @TableName scm_outsourcing_contract_pay
 */
@TableName(value ="scm_outsourcing_contract_pay")
@Data
public class ScmOutsourcingContractPay implements Serializable {
    /**
     * 
     */
    @TableId
    private Integer id;

    /**
     * 主表id
     */
    private Integer contractId;

    /**
     * 应付日期
     */
    private Date payDate;

    /**
     * 应付金额
     */
    private BigDecimal payAccount;

    /**
     * 已付金额
     */
    private BigDecimal accountPaid;

    /**
     * 未付金额
     */
    private BigDecimal accountUnpaid;

    /**
     * 备注
     */
    private String remark;

    /**
     * 付款方式
     */
    private String payType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}